package demo2;
import demo1.test;
public class Test extends test {
    public void func(){
        System.out.println(super.a);
    }
    public static void main(String[] args) {
            final int a;
            a=10;
            //a=20;
        System.out.println(a);



        Test test= new Test();
            test.func();

    }

}
